package com.tzxscu.hosdrool.models;

public class BillItemsBean {
    /**
     *
     */
    private String item_name;
    private String item_code;
    private String item_no;
    private double amount;
    private String item_spec;
    private String billing_datetime;
    private String zf_flag;
    private String retmsg;
    private boolean retflag;

    public void setItem_code(String item_code) {
        this.item_code = item_code;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public void setRetflag(boolean retflag) {
        this.retflag = retflag;
    }

    public void setBilling_datetime(String billing_datetime) {
        this.billing_datetime = billing_datetime;
    }

    public void setRetmsg(String retmsg) {
        this.retmsg = retmsg;
    }

    private String getRetmsg() {
        return retmsg;
    }

    private String getItem_code() {
        return item_code;
    }

    private double getAmount() {
        return amount;
    }

    private String getItem_name() {
        return item_name;
    }
    private String getBilling_datetime(){
        return billing_datetime;
    }

    public BillItemsBean(){
        this.item_code=this.getItem_code();
        this.item_name = this.getItem_name();
        this.amount = this.getAmount();
        this.billing_datetime = this.getBilling_datetime();
        this.retmsg = this.getRetmsg();
        this.retflag = false;
    }

    @Override
    public String toString(){
        return "{" +
                "\"item_code\"=\"" + item_code + '\"' +
                ", \"amount\"=" + amount +
                ", \"billing_datetime\"=\"" + billing_datetime + '\"' +
                ", \"item_name\"=\"" + item_name + '\"' +
                ", \"retmsg\"=\"" + retmsg + '\"' +
                ", \"retflag\"=\"" + retflag + '\"' +
                '}';
    }
}
